package TransactionImplementation

import (
	"PaySalary/AbstractTransactions"
	"PaySalary/Model"
	"PaySalary/ModelImplementation"
)

type AddSalariedEmployee struct {
	AbstractTransactions.AddEmployeeTransaction
	itsSalary float64
}

func (se *AddSalariedEmployee)NewAddSalariedEmployee(empid int, name string, address string, itsSalary float64)  {
	se.AddEmployeeTransaction.NewAddEmployeeTransaction(empid,name,address)
	se.itsSalary = itsSalary
}

func (se *AddSalariedEmployee)GetClassification() Model.PaymentClassification {
	return ModelImplementation.NewSalariedClassification(se.itsSalary)
}

func GetSchedule() Model.PaymentSchedule {
	return ModelImplementation.MonthlySchedule{}
}